<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户管理页面</title>
</head>
<body>
    <a href="/Admin/userAdd">添加用户</a>
    <pre class="form-control" id="json-input" th:utext="${userPage}"/>

    <style>
        .content_info_page{width: 100%;height: 37px;margin: 20px auto 20px auto;padding: 0px 0 0 0;text-align: center;}
        .commom{width:auto;text-decoration: none;background-color: #f63;font-size: 14px;padding: 3px 10px;margin: 0 2px;color:#fff;outline: none;display:inline-block;border:1px solid #f63;;text-align:center;line-height:25px;}
        .commom_not{cursor:not-allowed;color:#fff;}
    </style>
    <div class="content_info_page">
        <a class="commom commom_not" th:text="上一页" href="javascript:void(0)" th:if="${userPage.get('currentPage') == 1}"/>

        <a class="commom" th:text="上一页" th:href="@{/Admin/user(pageNo=${userPage.get('currentPage') - 1})}" th:if="${userPage.get('currentPage') > 1}"/>

        <a class="commom" href="javascript:void(0)" th:text="${userPage.get('currentPage')}"/>

        <a class="commom" th:text="下一页" th:href="@{/Admin/user(pageNo=${userPage.get('currentPage') + 1})}" th:if="${userPage.get('currentPage') < userPage.get('totalPages')}"/>

        <a class="commom commom_not" th:text="下一页" href="javascript:void(0)" th:if="${userPage.get('currentPage') == userPage.get('totalPages')}"/>
    </div>
</body>
</html>